package com.example.demo.service.interfaces;

import com.example.demo.domain.User;

import java.util.List;

public interface IUserService {
    List<User> findAll();

    void saveUser(User book);

    User findOne(long id);

    void delete(long id);

    List<User> findByName(String name);

    /**
     * 更新用户信息
     *
     */
    void updateUser(long id, String address);
}
